import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

// 挂在全局方法
import config from "./common/config.js"
Vue.prototype.config = config

import lib from "./common/lib.js"
Vue.prototype.lib = lib

import User from './common/user.js'
Vue.prototype.User = User

import chat from "./common/chat.js";
Vue.prototype.$chat = chat;

import request from './common/request.js'
Vue.prototype.$http = request

App.mpType = 'app'

const app = new Vue({
    ...App,
	config,
	lib
})
app.$mount()
